.CoinItem_detail {
  // margin-bottom: 102px;
  padding-top: 12px;
  height: calc(100vh - 60px);
  overflow-y: scroll;
  .detail_info {
    .con_tit {
      text-align: center;
      font-weight: 600;
      font-size: 28px;
      margin-bottom: 40px;
      color: #fff;
    }
    .package_data {
      width: 318px;
      min-height: 218px;
      margin: 6px auto;
      background-color: transparent;
      display: block;
      .gift_contents {
        box-sizing: border-box;
        padding: 0 16px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        .gift_item {
          margin-bottom: 19px;
          position: relative;
          width: 58px;
          .img {
            width: 100%;
            height: 58px;
            font-size: 0;
            img {
              width: 100%;
              height: 58px;
              border: none;
            }
          }
          .name {
            text-align: center;
            background: rgba(175, 251, 161, 0.2);
            height: 17px;
            line-height: 17px;
            span {
              // display: inline-block;
              font-size: 12px;
              transform: scale(0.84);
              color: #affba1;
            }
          }
          .attr {
            position: absolute;
            width: 52px;
            height: 15px;
            color: #fff;
            top: -15px;
            left: 5px;
            background: url('../../images/Subtract.png') no-repeat;
            background-size: contain;
            span {
              display: inline-block;
              font-size: 12px;
              transform: scale(0.84);
            }
          }
        }
      }
    }
    .detail_content_text {
      margin: 16px auto 24px;
      width: 343px;

      .detail_f {
        height: 98px;
        background: url('../../images/coin_detail1.png') no-repeat;
        background-size: contain;
        // margin-bottom: 12px;
        padding: 20px 16px 0 16px;
        box-sizing: border-box;
        .price {
          margin-bottom: 8px;
          box-sizing: border-box;
          display: flex;
          align-items: flex-end;
          color: #affba1;
          font-family: 'PingFang SC';
          font-style: normal;
          font-weight: 500;
          font-size: 20px;
          line-height: 28px;
          height: 28px;
          .old {
            padding-left: 6px;
            font-size: 16px;
            line-height: 18px;
            height: 22px;
            font-weight: 400;
            text-decoration-line: line-through;
          }
        }
        .tit {
          color: #fff;
          opacity: 0.6;
          font-family: 'PingFang SC';
          font-style: normal;
          font-weight: 400;
          font-size: 14px;
          line-height: 22px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
        }
      }
      .detail_s {
        box-sizing: border-box;
        padding: 16px 28px 0 28px;
        height: 118px;
        background: url('../../images/coin_detail2.png') no-repeat;
        background-size: contain;
        font-weight: 400;
        color: #fff;
        font-size: 16px;
        .level {
          line-height: 22px;
        }
        .info {
          line-height: 28px;
          padding-top: 8px;
        }
      }
    }
    .package_data_rule {
      margin: 0 16px;
      img {
        width: 100%;
        font-size: 0;
      }
      .tips {
        color: #fff;
        opacity: 0.4;
        font-size: 12px;
        font-weight: 500;
        line-height: 17px;
        text-align: center;
      }
      .tit {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 22px;
        color: #fff;
        font-weight: 500;
      }
    }
  }
  .detail_btn {
    position: sticky;
    bottom: 20px;

    width: 242px;
    height: 44px;
    background: url('../../images/btn_bg.png') no-repeat;
    background-size: contain;
    margin: 19px auto;

    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'PingFang SC';
    font-weight: 500;
    font-size: 14px;
    &:active {
      transform: scale(0.98);
      transition-duration: 200;
    }
    // position: fixed;
    // z-index: 10;
    // bottom: 46px;
    // // margin: 0 auto;
    // left: 50%;
    // transform: translate(-50%, 0%); /* 50%为自身尺寸的一半 */
    // -webkit-transform: translate(-50%, 0%);
  }

  .package_content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    // background-color: #fff;
    // height: 100px;
    // width: 100px;
    width: 343px;
    .content {
      color: #fff;
      text-align: center;
      .tit {
        font-weight: 500;
        font-size: 24px;
        line-height: 34px;
        height: 34px;
        margin-bottom: 32px;
      }
      .list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        .gift_item {
          margin-right: 22px;
          .icon {
            margin: 0 auto;
            width: 64px;
            height: 64px;
            font-size: 0;
            img {
              width: 100%;
            }
          }
          .name,
          .expire {
            font-size: 12px;
            font-weight: 400;
          }
          &:last-of-type {
            margin-right: 0;
          }
        }
      }
    }
  }
}
